package ${basePackage}.cli.command;

import cn.hutool.core.io.FileUtil;
import org.junit.Test;
import picocli.CommandLine;
import picocli.CommandLine.Command;

import java.io.File;
import java.util.List;

/**
 * @author ${author}
 * @verison ${version}
 */


@Command(name = "everyList", description = "查看文件", mixinStandardHelpOptions = true)
public class ListCommand implements Runnable {

    @Test
    @Override
    public void run() {
        String inputPath ="${fileConfig.sourceRootPath}";
        List<File> files = FileUtil.loopFiles(inputPath);
        System.out.println("gonna show each file");
        for (File file : files) {
            System.out.println(file);
        }
    }
}
